
<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_CSS}/Comm.css"/>
<script type="text/javascript" src="{G_GLOBAL_STYLE}/global/js/jquery-1.8.3.min.js"></script>
<div class="wrapper">
        <input name="hidRegisterForward" type="hidden" id="hidRegisterForward" value="http://www.1yyg.com/">
        <div class="g-logo-top">
            <a href="?/" class="transparent-png fl">
                <img src="statics/templates/taolong-1yygkuan/images/logo.png" alt="">
            </a>
            <span class="fr">已有账号？<a id="hylinkLoginPage" class="blue" href="{WEB_PATH}/member/user/login">立即登录</a></span>
        </div>

        <div class="g-contentCon clrfix">

            <div class="m-main clrfix">
                <h2 class="gray3">新用户注册</h2>
                <form method="post" action="" enctype="application/x-www-form-urlencoded" onsubmit="return checkForm()">
                <div class="register-form-con clrfix" style="height: 280px">
                    <ul>
                        <li>
                            <input  placeholder="手机号" id="ipyanz" datatype="m | e" sucmsg="帐号验证通过！" nullmsg="请填写帐号！" errormsg="手机号！" type="text" name="name" class="inputxt">
                            <b class="passport-icon user-name transparent-png"></b>
                            <span class="orange" style="display: none;"></span>
                            <s class="passport-icon" style="display: none;"></s>
                        </li>
                        <li>
                            <input id="txtPwd" type="password" maxlength="20" value="" datatype="*6-20" plugin="passwordStrength" nullmsg="请设置密码！" errormsg="密码范围在6~20位之间！"  name="userpassword" class="inputxt" placeholder="设置登录密码">
                            <b class="passport-icon login-password transparent-png"></b>
                            <span class="orange" style="display: none;"></span>
                            <s class="passport-icon" style="display: none;"></s>
                            <span id="pwdStrength" style="display: none;"></span>

                        </li>
                        <li>
                            <input id="txtConPwd" type="password" maxlength="20" value=""  tip="test"  datatype="*" recheck="userpassword" nullmsg="请再输入一次密码！" errormsg="您两次输入的账号密码不一致！"  name="userpassword2" class="inputxt" placeholder="确认密码">
                            <b class="passport-icon login-password transparent-png"></b>
                            <span class="orange" style="display: none;"></span>
                            <s class="passport-icon" style="display: none;"></s>
                        </li>
                        <li>
                            <input id="txtyz" class="inputxt" name="verify" type="text"  datatype="*6-6" nullmsg="请输入验证码！" errormsg="请输入正确的验证码！" style="width: 180px">
                            <span class="fog"><img id="checkcode" src="{WEB_PATH}/api/checkcode/image/80_27/"/></span>
                            <b class="passport-icon login-password transparent-png"></b>
                            <span class="orange" style="display: none;"></span>
                            <s class="passport-icon" style="display: none;"></s>
                        </li>
                         <!-- <dt>验证码：</dt>
                <dd><input class="inputxt" name="verify" type="text"  datatype="*6-6" nullmsg="请输入验证码！" errormsg="请输入正确的验证码！"/>
                    <span class="fog"><img id="checkcode" src="{WEB_PATH}/api/checkcode/image/80_27/"/></span></dd>
                <dd><div style="margin:7px 0 0 10px;" class="Validform_checktip"></div></dd> -->
                    </ul>
                    <ul class="j-tips-wrap" id="j-tips-wrap"></ul>
                </div>
                <div class="link-con clrfix">
                    <!-- <a id="btnAgreeBtn" href="javascript:;" class="z-agreeBtn">同意协议并注册</a> -->
                    <input name="submit" type="submit" value="同意协议并注册" id="btnAgreeBtn">
                    <a id="btnAgreement" href="" target="_blank" class="z-agreement">《1元云购互助购物协议》</a>
                </div>
                </form>
            </div>
        </div>

        <!--版权-->
        <div class="g-copyrightCon clrfix">
              <div class="g-links">
                  <a target="_blank" href="{wc:G_WEB_PATH}" title="首页">首页</a><s></s>
                  <a target="_blank" href="http://help.1yyg.com/htm-about.html" title="关于云购">关于我们</a><s></s>
                  <a target="_blank" href="http://help.1yyg.com/htm-privacy.html" title="隐私声明">隐私声明</a><s></s>
                  <a target="_blank" href="http://help.1yyg.com/info/htm-business.html">合作专区</a><s></s>
                  <a target="_blank" href="http://www.1yyg.com/link.html">友情链接</a><s></s>
                  <a target="_blank" href="http://help.1yyg.com/htm-jobs.html" title="加入云购">友情链接</a><s></s>
                  <a target="_blank" href="http://help.1yyg.com/htm-contactus.html" title="联系我们">联系我们</a>
              </div>
              <div class="g-copyright">
                  Copyright © 2011 - 2017, 版权所有 一元云购 1yyg.com 粤ICP备09213115号-1
              </div>
        </div>
          
          <script language="javascript" type="text/javascript">
              var Base = { head: document.getElementsByTagName("head")[0] || document.documentElement, Myload: function (B, A) { this.done = false; B.onload = B.onreadystatechange = function () { if (!this.done && (!this.readyState || this.readyState === "loaded" || this.readyState === "complete")) { this.done = true; A(); B.onload = B.onreadystatechange = null; if (this.head && B.parentNode) { this.head.removeChild(B) } } } }, getScript: function (A, C) { var B = function () { }; if (C != undefined) { B = C } var D = document.createElement("script"); D.setAttribute("language", "javascript"); D.setAttribute("type", "text/javascript"); D.setAttribute("src", A); this.head.appendChild(D); this.Myload(D, B) }, getStyle: function (A, B) { var B = function () { }; if (callBack != undefined) { B = callBack } var C = document.createElement("link"); C.setAttribute("type", "text/css"); C.setAttribute("rel", "stylesheet"); C.setAttribute("href", A); this.head.appendChild(C); this.Myload(C, B) } }
              function GetVerNum() { var D = new Date(); return D.getFullYear().toString().substring(2, 4) + '.' + (D.getMonth() + 1) + '.' + D.getDate() + '.' + D.getHours() + '.' + (D.getMinutes() < 10 ? '0' : D.getMinutes().toString().substring(0, 1)) }
              Base.getScript('https://skin.1yyg.net/JS/sslBottomFun.js?v=' + GetVerNum());
          </script>
          <div style="display: none;">
              <script type="text/javascript" language="JavaScript" src=" https://s22.cnzz.com/stat.php?id=3362429&amp;web_id=3362429"></script><script src="https://c.cnzz.com/core.php?web_id=3362429&amp;t=z" charset="utf-8" type="text/javascript"></script><a href="http://www.cnzz.com/stat/website.php?web_id=3362429" target="_blank" title="站长统计">站长统计</a>
          </div>
        <link type="text/css" rel="stylesheet" href="https://skin.1yyg.net/CSS/pageDialog.css?v=161208">
      <script language="javascript" type="text/javascript" src="https://skin.1yyg.net/JS/pageDialog.js?v=161208"></script>
      <div class="pageDialogBG" id="pageDialogBG"></div>
      <div class="pageDialogBorder" id="pageDialogBorder"></div>
      <div class="pageDialog" id="pageDialog">
        <div class="pageDialogClose" id="pageDialogClose" title="关闭"></div>
        <div class="pageDialogMain" id="pageDialogMain"> </div>
      </div>

</div>
<script type="text/javascript">
function checkForm()
{
  var errMsg = '';
  var mobile = $('#ipyanz').val();
  var pwd = $('#txtPwd').val();
  var cmfPwd = $('#txtConPwd').val();

  if(!(/^1[3|4|5|8][0-9]\d{4,8}$/.test(mobile))){ 
    errMsg += '不是完整的11位手机号\n';
  }

  var pwdReg = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/;//8到16位数字与字母组合
  if (!pwdReg.test(pwd)) {
    errMsg += '请输入大于8位包含字母和数字组合的密码！\n';
  }

  if (pwd != cmfPwd && pwd != '') {
    errMsg += '两次密码输入不一致\n';
  }

  if (errMsg != '') {
    alert(errMsg);
    return false;
  }
  return true;
}
</script>